/**
 * 
 */
package com.gragra.evaluateFunctionWords;
import java.io.IOException;
import java.util.Arrays;
/**
 * @author Christoph Teichmann
 * 14.08.2013
 */
public class RunFreqEvaluateNTimes
{
	public static void main(String[] args) throws IOException
	{
		int num = Integer.parseInt(args[0]);
		String prefix = args[2];
		args = Arrays.copyOfRange(args, 1, args.length+2);
		args[args.length-2] = "-nW";
		for(int i=0;i<=num;i+=5)
		{
			args[args.length-1] = Integer.toString(i);
			args[1] = prefix.concat("_"+Integer.toString(i)+".txt");
			EvaluateFrequency.main(args);
		}
	}
}